keyfile_set_from_vardict: free the string array
authorSimon McVittie <smcv@debian.org>
Sat, 29 Oct 2016 17:36:19 +0000 (18:36 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Sun, 30 Oct 2016 22:11:15 +0000 (22:11 +0000)
commit47397097423578a43ce827e663e9e008887eaf54
treebc95dc6b7a3abcdde8d80c64fe87a48c06fb7b5f
parentc8a6b037ef3eb457c25f2a6e891fc0ef59b6b7d9
keyfile_set_from_vardict: free the string array

g_variant_get_strv is (transfer container): the caller is expected to
free the array, but not the individual strings.

Leak found with valgrind memcheck.

Signed-off-by: Simon McVittie <smcv@debian.org>
Closes: #556
Approved by: cgwalters
src/libostree/ostree-repo.c